#amba cv 系列
LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/lib/amba_cv2x/)
LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/lib/amba_cv2x/amba)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include/amba)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include/amba/arch_v5)
set(tools /opt/amba-linux/linaro-aarch64-2018.08-gcc8.2)
set(CMAKE_C_COMPILER ${tools}/bin/aarch64-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER ${tools}/bin/aarch64-linux-gnu-g++)
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)